package com.ruoyi.domain;

import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 作业装配对象 rig
 * 
 * @author ruoyi
 * @date 2024-10-29
 */
public class Rig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    @Excel(name = "编号")
    private String id;

    /** 作业名称 */
    @Excel(name = "作业名称")
    private String workname;

    /** 生产数量 */
    private Long productNumber;

    /** 生产计划 */
    @Excel(name = "生产计划")
    private String productPlan;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String productName;

    /** 型号 */
    @Excel(name = "型号")
    private String productType;

    /** 规格 */
    @Excel(name = "规格")
    private Long specifications;

    /** 部门 */
    @Excel(name = "部门")
    private String department;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 备注 */
    private String comment;

    /** 生产作业物料信息 */
    private String productMakerComment;

    /** 产品状态 */
    private Long status;

    /** 排产计划信息 */
    private List<ProducePlan> producePlanList;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setWorkname(String workname) 
    {
        this.workname = workname;
    }

    public String getWorkname() 
    {
        return workname;
    }
    public void setProductNumber(Long productNumber) 
    {
        this.productNumber = productNumber;
    }

    public Long getProductNumber() 
    {
        return productNumber;
    }
    public void setProductPlan(String productPlan) 
    {
        this.productPlan = productPlan;
    }

    public String getProductPlan() 
    {
        return productPlan;
    }
    public void setProductName(String productName) 
    {
        this.productName = productName;
    }

    public String getProductName() 
    {
        return productName;
    }
    public void setProductType(String productType) 
    {
        this.productType = productType;
    }

    public String getProductType() 
    {
        return productType;
    }
    public void setSpecifications(Long specifications) 
    {
        this.specifications = specifications;
    }

    public Long getSpecifications() 
    {
        return specifications;
    }
    public void setDepartment(String department) 
    {
        this.department = department;
    }

    public String getDepartment() 
    {
        return department;
    }
    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }
    public void setComment(String comment) 
    {
        this.comment = comment;
    }

    public String getComment() 
    {
        return comment;
    }
    public void setProductMakerComment(String productMakerComment) 
    {
        this.productMakerComment = productMakerComment;
    }

    public String getProductMakerComment() 
    {
        return productMakerComment;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    public List<ProducePlan> getProducePlanList()
    {
        return producePlanList;
    }

    public void setProducePlanList(List<ProducePlan> producePlanList)
    {
        this.producePlanList = producePlanList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("workname", getWorkname())
            .append("productNumber", getProductNumber())
            .append("productPlan", getProductPlan())
            .append("productName", getProductName())
            .append("productType", getProductType())
            .append("specifications", getSpecifications())
            .append("department", getDepartment())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("comment", getComment())
            .append("productMakerComment", getProductMakerComment())
            .append("status", getStatus())
            .append("producePlanList", getProducePlanList())
            .toString();
    }
}
